package cn.mazexal.examapi.models.redisKeys;

/**
 * @author: Mazexal
 * Date: 2025/8/23
 */
public class RedisOrderKey {

    public static final String ORDER_KEY = "order:";

    public static String getUserOrderKey(Long userId) {
        return ORDER_KEY + userId;
    }

    public static String getUserAppleyVerifyKey(Long userId, Long orderId) {
        return ORDER_KEY + userId + ":appleVerify:" + orderId;
    }

    public static String getAppleyNotifyKey(String notifyId){
        return ORDER_KEY + "appleNotify:" + notifyId;
    }
}
